<?php
if ( !defined( '_PS_VERSION_' ) )
  exit;

class MyModule2 extends Module
  {
  public function __construct()
    {


    $this->name = 'mymodule2';
    $this->tab = 'Test';
    $this->version = 1.0;
    $this->author = 'Firstname Lastname';
    $this->need_instance = 0;

    parent::__construct();

    $this->displayName = $this->l( 'My module2' );
    $this->description = $this->l( 'Description of my module.' );
    }

  public function install()
    {
    if ( parent::install() == false )
      return false;
    return true;
    }
	
	public function uninstall()
  {
  if ( !parent::uninstall() )
    Db::getInstance()->Execute( 'DELETE FROM `' . _DB_PREFIX_ . 'mymodule2`' );
  parent::uninstall();
  }
  
  public function hookRightColumn( $params )
  {
	  global $smarty;
	  return $this->display( __FILE__, 'mymodule2.tpl' );
  }

	public function hookLeftColumn( $params )
	  {
		return $this->hookRightColumn( $params );
	  }
	  
	  
  }
?>